package com.example.idlefish.GoodsInfo.ActivityContract

import android.app.Activity
import android.content.Context
import android.content.Intent
import androidx.activity.result.contract.ActivityResultContract
import com.example.idlefish.Goods.GoodsMainFragment
import com.example.idlefish.MainActivity

class ToHomePageContract:ActivityResultContract<Unit, Unit>(){
    override fun createIntent(context: Context, input: Unit): Intent {
        val intent = Intent(context, MainActivity::class.java)
        return intent

    }
    override fun parseResult(resultCode: Int, intent: Intent?) {

    }

}